home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
CD ROM Simulator
/
Simulate CDROM 1.5
/
Simulate CDROM 1.5.rsrc
/
CDEF_129_HotSpot.txt
< prev
next >
Wrap
Text File
|
1992-10-15
|
42KB
|
766 lines
start:
00000000 600E bra +0x10 /* 00000010 */
00000002 0000 4344 ori.b D0, 0x44 /* 'D' */
00000006 4546 chk.w D2, D6
00000008 0081 0000 0000 ori.l D1, 0x0
0000000E 0000 41FA ori.b D0, 0xFA
// begin alternate branch 00000010-00000014
label00000010:
00000010 41FA FFEE lea.l A0, [PC - 0x12 /* 00000000, value 0x600E0000 */]
// end alternate branch 00000010-00000014
label00000010: // (misaligned)
00000012 FFEE .invalid <<F/7/7>>
00000014 21C8 09CE move.l [0x000009CE /* ToolScratch */], A0
00000018 6000 0774 bra +0x776 /* 0000078E */
fn0000001C:
0000001C 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000020 6B22 bmi +0x24 /* 00000044 */
00000022 303C 0090 move.w D0, 0x90
00000026 A346 syscall GetOSTrapAddress, flags=3
00000028 2248 movea.l A1, A0
0000002A 303C 009F move.w D0, 0x9F
0000002E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000030 B3C8 cmpa.l A1, A0
00000032 6710 beq +0x12 /* 00000044 */
00000034 225F movea.l A1, [A7]+
00000036 205F movea.l A0, [A7]+
00000038 301F move.w D0, [A7]+
0000003A 2F09 move.l -[A7], A1
0000003C A090 syscall SysEnvirons
0000003E 3F40 0004 move.w [A7 + 0x4], D0
00000042 4E75 rts
label00000044:
00000044 206F 0004 movea.l A0, [A7 + 0x4]
00000048 303C 0001 move.w D0, 0x1
0000004C 2248 movea.l A1, A0
0000004E 6006 bra +0x8 /* 00000056 */
00000050 0313 btst [A3], D1
00000052 0B02 btst D2, D5
00000054 0100 btst D0, D0
label00000056:
00000056 303C 0010 move.w D0, 0x10
0000005A E240 asr D0.w, 1
0000005C 5340 subq.w D0, 1
label0000005E:
0000005E 4258 clr.w [A0]+
00000060 51C8 FFFC dbf D0, -0x6 /* 0000005E */
00000064 32BC 0001 move.w [A1], 0x1
00000068 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
0000006C 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
00000072 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
00000078 6742 beq +0x44 /* 000000BC */
0000007A 4A28 0008 tst.b [A0 + 0x8]
0000007E 6E20 bgt +0x22 /* 000000A0 */
00000080 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
00000086 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000008A 6B30 bmi +0x32 /* 000000BC */
0000008C 337C 0001 0002 move.w [A1 + 0x2], 0x1
00000092 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
00000096 6A24 bpl +0x26 /* 000000BC */
00000098 337C 0002 0002 move.w [A1 + 0x2], 0x2
0000009E 601C bra +0x1E /* 000000BC */
label000000A0:
000000A0 4269 0002 clr.w [A1 + 0x2]
000000A4 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
000000AA 6E10 bgt +0x12 /* 000000BC */
000000AC 6708 beq +0xA /* 000000B6 */
000000AE 337C 0004 0002 move.w [A1 + 0x2], 0x4
000000B4 6006 bra +0x8 /* 000000BC */
label000000B6:
000000B6 337C 0003 0002 move.w [A1 + 0x2], 0x3
label000000BC:
000000BC 4269 0004 clr.w [A1 + 0x4]
000000C0 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
000000C6 6E0A bgt +0xC /* 000000D2 */
000000C8 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
000000CC 5240 addq.w D0, 1
000000CE 1340 0007 move.b [A1 + 0x7], D0
label000000D2:
000000D2 4A78 028E tst.w [0x0000028E /* ROM85 */]
000000D6 6B0E bmi +0x10 /* 000000E6 */
000000D8 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
000000DE 6706 beq +0x8 /* 000000E6 */
000000E0 137C 0001 0008 move.b [A1 + 0x8], 0x1
label000000E6:
000000E6 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
000000EC 6206 bhi +0x8 /* 000000F4 */
000000EE 137C 0001 0009 move.b [A1 + 0x9], 0x1
label000000F4:
000000F4 1038 021E move.b D0, [0x0000021E /* KbdType */]
000000F8 41FA FF5B lea.l A0, [PC - 0xA5 /* 00000055, value 0x303C00 '0<\0', cstring "" */]
000000FC 323C 0004 move.w D1, 0x4
label00000100:
00000100 B020 cmp.b D0, -[A0]
00000102 57C9 FFFC dbeq D1, -0x6 /* 00000100 */
00000106 5241 addq.w D1, 1
00000108 3341 000A move.w [A1 + 0xA], D1
0000010C 4A38 0291 tst.b [0x00000291 /* PortBUse */]
00000110 6B18 bmi +0x1A /* 0000012A */
00000112 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00000116 0201 000F andi.b D1, 0xF
0000011A 0C01 0001 cmpi.b D1, 0x1
0000011E 660A bne +0xC /* 0000012A */
00000120 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00000124 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label0000012A:
0000012A 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
00000130 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00000134 6D44 blt +0x46 /* 0000017A */
00000136 4269 000E clr.w [A1 + 0xE]
0000013A 323C 003C move.w D1, 0x3C /* '<' */
label0000013E:
0000013E 4267 clr.w -[A7]
00000140 51C9 FFFC dbf D1, -0x6 /* 0000013E */
00000144 204F movea.l A0, A7
00000146 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
0000014C 7008 moveq.l D0, 0x08
0000014E A260 syscall FSDispatch/HFSDispatch, flags=2
00000150 6624 bne +0x26 /* 00000176 */
00000152 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00000158 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
0000015A 661A bne +0x1C /* 00000176 */
0000015C 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
00000162 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
0000016A 7001 moveq.l D0, 0x01
0000016C A260 syscall FSDispatch/HFSDispatch, flags=2
0000016E 6606 bne +0x8 /* 00000176 */
00000170 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label00000176:
00000176 4FEF 007A lea.l A7, [A7 + 0x7A]
label0000017A:
0000017A 2049 movea.l A0, A1
0000017C 225F movea.l A1, [A7]+
0000017E 5C4F addq.w A7, 6
00000180 3EBC EA84 move.w [A7], 0xEA84
00000184 4ED1 jmp [A1]
fn00000186:
00000186 2F01 move.l -[A7], D1
00000188 222F 0008 move.l D1, [A7 + 0x8]
0000018C 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00000192 2F40 0004 move.l [A7 + 0x4], D0
00000196 202F 000C move.l D0, [A7 + 0xC]
0000019A 48E7 3100 movem.l -[A7], D2,D3,D7
0000019E 4EBA 005C jsr [PC + 0x5C /* 000001FC */]
000001A2 4CDF 008C movem.l D2,D3,D7, [A7]+
000001A6 2F40 000C move.l [A7 + 0xC], D0
000001AA 221F move.l D1, [A7]+
000001AC 201F move.l D0, [A7]+
000001AE 4E75 rts
fn000001B0:
000001B0 48E7 C0C0 movem.l -[A7], D0,D1,A0,A1
000001B4 322F 0014 move.w D1, [A7 + 0x14]
000001B8 206F 0016 movea.l A0, [A7 + 0x16]
000001BC 2248 movea.l A1, A0
000001BE 7000 moveq.l D0, 0x00
000001C0 22C0 move.l [A1]+, D0
000001C2 22C0 move.l [A1]+, D0
000001C4 22C0 move.l [A1]+, D0
000001C6 22C0 move.l [A1]+, D0
000001C8 22C0 move.l [A1]+, D0
000001CA 22C0 move.l [A1]+, D0
000001CC 22C0 move.l [A1]+, D0
000001CE 22C0 move.l [A1]+, D0
000001D0 226F 001A movea.l A1, [A7 + 0x1A]
000001D4 5341 subq.w D1, 1
000001D6 671E beq +0x20 /* 000001F6 */
000001D8 701F moveq.l D0, 0x1F
000001DA 9041 sub.w D0, D1
000001DC E249 lsr D1.w, 1
000001DE 41F0 0000 lea.l A0, [A0 + D0.w]
label000001E2:
000001E2 30D9 move.w [A0]+, [A1]+
000001E4 51C9 FFFC dbf D1, -0x6 /* 000001E2 */
label000001E8:
000001E8 4CDF 0303 movem.l D0,D1,A0,A1, [A7]+
000001EC 2F57 000A move.l [A7 + 0xA], [A7]
000001F0 4FEF 000A lea.l A7, [A7 + 0xA]
000001F4 4E75 rts
label000001F6:
000001F6 1159 001F move.b [A0 + 0x1F], [A1]+
000001FA 60EC bra -0x12 /* 000001E8 */
fn000001FC:
000001FC 4A80 tst.l D0
000001FE 6A1C bpl +0x1E /* 0000021C */
00000200 4A81 tst.l D1
00000202 6A0C bpl +0xE /* 00000210 */
00000204 4480 neg.l D0
00000206 4481 neg.l D1
00000208 4EBA 0020 jsr [PC + 0x20 /* 0000022A */]
0000020C 4481 neg.l D1
0000020E 4E75 rts
label00000210:
00000210 4480 neg.l D0
00000212 4EBA 0016 jsr [PC + 0x16 /* 0000022A */]
00000216 4480 neg.l D0
00000218 4481 neg.l D1
0000021A 4E75 rts
label0000021C:
0000021C 4A81 tst.l D1
0000021E 6A0A bpl +0xC /* 0000022A */
00000220 4481 neg.l D1
00000222 4EBA 0006 jsr [PC + 0x6 /* 0000022A */]
00000226 4480 neg.l D0
00000228 4E75 rts
fn0000022A:
0000022A 2E3C 0000 FFFF move.l D7, 0xFFFF
00000230 B280 cmp.l D1, D0
00000232 6306 bls +0x8 /* 0000023A */
00000234 2200 move.l D1, D0
00000236 7000 moveq.l D0, 0x00
00000238 4E75 rts
label0000023A:
0000023A B087 cmp.l D0, D7
0000023C 620C bhi +0xE /* 0000024A */
0000023E 80C1 divu.w D0, D1
00000240 4840 swap.w D0
00000242 3200 move.w D1, D0
00000244 4240 clr.w D0
00000246 4840 swap.w D0
00000248 4E75 rts
label0000024A:
0000024A B287 cmp.l D1, D7
0000024C 621A bhi +0x1C /* 00000268 */
0000024E 2E00 move.l D7, D0
00000250 4240 clr.w D0
00000252 4840 swap.w D0
00000254 80C1 divu.w D0, D1
00000256 4840 swap.w D0
00000258 4847 swap.w D7
0000025A 3E00 move.w D7, D0
0000025C 4847 swap.w D7
0000025E 8EC1 divu.w D7, D1
00000260 3007 move.w D0, D7
00000262 4847 swap.w D7
00000264 3207 move.w D1, D7
00000266 4E75 rts
label00000268:
00000268 2400 move.l D2, D0
0000026A 2601 move.l D3, D1
label0000026C:
0000026C E288 lsr D0, 1
0000026E E289 lsr D1, 1
00000270 B287 cmp.l D1, D7
00000272 62F8 bhi -0x6 /* 0000026C */
00000274 80C1 divu.w D0, D1
00000276 C087 and.l D0, D7
label00000278:
00000278 3203 move.w D1, D3
0000027A C2C0 mulu.w D1, D0
0000027C 2E03 move.l D7, D3
0000027E 4847 swap.w D7
00000280 CEC0 mulu.w D7, D0
00000282 4847 swap.w D7
00000284 D287 add.l D1, D7
00000286 6508 bcs +0xA /* 00000290 */
00000288 9282 sub.l D1, D2
0000028A 6204 bhi +0x6 /* 00000290 */
0000028C 4481 neg.l D1
0000028E 4E75 rts
label00000290:
00000290 5340 subq.w D0, 1
00000292 60E4 bra -0x1A /* 00000278 */
fn00000294:
00000294 4E56 FFDE link A6, -0x0022
00000298 2F0B move.l -[A7], A3
0000029A 266E 0008 movea.l A3, [A6 + 0x8]
0000029E 422B FFEF clr.b [A3 - 0x11]
000002A2 554F subq.w A7, 2
000002A4 3F3C 0001 move.w -[A7], 0x1
000002A8 486E FFE0 pea.l [A6 - 0x20]
000002AC 4EBA FD6E jsr [PC - 0x292 /* 0000001C */]
000002B0 3D5F FFDE move.w [A6 - 0x22], [A7]+
000002B4 4A6E FFE2 tst.w [A6 - 0x1E]
000002B8 6D06 blt +0x8 /* 000002C0 */
000002BA 176E FFE9 FFEF move.b [A3 - 0x11], [A6 - 0x17]
label000002C0:
000002C0 377C FFFF FFDC move.w [A3 - 0x24], 0xFFFF
000002C6 377C FFFF FFDE move.w [A3 - 0x22], 0xFFFF
000002CC 377C FFFF FFE0 move.w [A3 - 0x20], 0xFFFF
000002D2 426B FFD6 clr.w [A3 - 0x2A]
000002D6 426B FFD8 clr.w [A3 - 0x28]
000002DA 426B FFDA clr.w [A3 - 0x26]
000002DE 265F movea.l A3, [A7]+
000002E0 4E5E unlink A6
000002E2 2E9F move.l [A7], [A7]+
000002E4 4E75 rts
fn000002E6:
000002E6 4E56 FF3A link A6, -0x00C6
000002EA 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
000002EE 266E 0008 movea.l A3, [A6 + 0x8]
000002F2 2A2E 0010 move.l D5, [A6 + 0x10]
000002F6 4A2B FFEF tst.b [A3 - 0x11]
000002FA 6700 00C2 beq +0xC4 /* 000003BE */
000002FE 554F subq.w A7, 2
00000300 2F05 move.l -[A7], D5
00000302 486E FF7E pea.l [A6 - 0x82]
00000306 AA44 syscall GetAuxiliaryControlRecord/GetAuxCtl
00000308 4A1F tst.b [A7]+
0000030A 206E FF7E movea.l A0, [A6 - 0x82]
0000030E 2050 movea.l A0, [A0]
00000310 2468 0008 movea.l A2, [A0 + 0x8]
00000314 200A move.l D0, A2
00000316 6700 007C beq +0x7E /* 00000394 */
0000031A 2052 movea.l A0, [A2]
0000031C 3028 0006 move.w D0, [A0 + 0x6]
00000320 5340 subq.w D0, 1
00000322 3D40 FF5A move.w [A6 - 0xA6], D0
00000326 4246 clr.w D6
00000328 6062 bra +0x64 /* 0000038C */
label0000032A:
0000032A 2052 movea.l A0, [A2]
0000032C 3006 move.w D0, D6
0000032E E740 asl D0.w, 3
00000330 4A70 0008 tst.w [A0 + D0.w + 0x8]
00000334 6612 bne +0x14 /* 00000348 */
00000336 2052 movea.l A0, [A2]
00000338 3006 move.w D0, D6
0000033A E740 asl D0.w, 3
0000033C 41F0 000A lea.l A0, [A0 + D0.w + 0xA]
00000340 43EE FF78 lea.l A1, [A6 - 0x88]
00000344 22D8 move.l [A1]+, [A0]+
00000346 32D8 move.w [A1]+, [A0]+
label00000348:
00000348 2052 movea.l A0, [A2]
0000034A 3006 move.w D0, D6
0000034C E740 asl D0.w, 3
0000034E 0C70 0001 0008 cmpi.w [A0 + D0.w + 0x8], 0x1
00000354 6612 bne +0x14 /* 00000368 */
00000356 2052 movea.l A0, [A2]
00000358 3006 move.w D0, D6
0000035A E740 asl D0.w, 3
0000035C 41F0 000A lea.l A0, [A0 + D0.w + 0xA]
00000360 43EE FF72 lea.l A1, [A6 - 0x8E]
00000364 22D8 move.l [A1]+, [A0]+
00000366 32D8 move.w [A1]+, [A0]+
label00000368:
00000368 2052 movea.l A0, [A2]
0000036A 3006 move.w D0, D6
0000036C E740 asl D0.w, 3
0000036E 0C70 0002 0008 cmpi.w [A0 + D0.w + 0x8], 0x2
00000374 6612 bne +0x14 /* 00000388 */
00000376 2052 movea.l A0, [A2]
00000378 3006 move.w D0, D6
0000037A E740 asl D0.w, 3
0000037C 41F0 000A lea.l A0, [A0 + D0.w + 0xA]
00000380 43EE FF6C lea.l A1, [A6 - 0x94]
00000384 22D8 move.l [A1]+, [A0]+
00000386 32D8 move.w [A1]+, [A0]+
label00000388:
00000388 5246 addq.w D6, 1
0000038A 6932 bvs +0x34 /* 000003BE */
label0000038C:
0000038C BC6E FF5A cmp.w D6, [A6 - 0xA6]
00000390 6F98 ble -0x66 /* 0000032A */
00000392 602A bra +0x2C /* 000003BE */
label00000394:
00000394 426E FF78 clr.w [A6 - 0x88]
00000398 426E FF7A clr.w [A6 - 0x86]
0000039C 426E FF7C clr.w [A6 - 0x84]
000003A0 3D7C FFFF FF72 move.w [A6 - 0x8E], 0xFFFF
000003A6 3D7C FFFF FF74 move.w [A6 - 0x8C], 0xFFFF
000003AC 3D7C FFFF FF76 move.w [A6 - 0x8A], 0xFFFF
000003B2 426E FF6C clr.w [A6 - 0x94]
000003B6 426E FF6E clr.w [A6 - 0x92]
000003BA 426E FF70 clr.w [A6 - 0x90]
label000003BE:
000003BE 486E FFA4 pea.l [A6 - 0x5C]
000003C2 A898 syscall GetPenState
000003C4 A89E syscall PenNormal
000003C6 486E FF64 pea.l [A6 - 0x9C]
000003CA A874 syscall GetPort
000003CC 206E FF64 movea.l A0, [A6 - 0x9C]
000003D0 3D68 0044 FF90 move.w [A6 - 0x70], [A0 + 0x44]
000003D6 206E FF64 movea.l A0, [A6 - 0x9C]
000003DA 3D68 004A FF8E move.w [A6 - 0x72], [A0 + 0x4A]
000003E0 206E FF64 movea.l A0, [A6 - 0x9C]
000003E4 3D68 0048 FF8C move.w [A6 - 0x74], [A0 + 0x48]
000003EA 206E FF64 movea.l A0, [A6 - 0x9C]
000003EE 4868 0046 pea.l [A0 + 0x46]
000003F2 486E FF3C pea.l [A6 - 0xC4]
000003F6 3F3C 0001 move.w -[A7], 0x1
000003FA 4EBA FDB4 jsr [PC - 0x24C /* 000001B0 */]
000003FE 1D6E FF5B FF8B move.b [A6 - 0x75], [A6 - 0xA5]
00000404 1D7C 0011 FFC6 move.b [A6 - 0x3A], 0x11
0000040A 422E FFC7 clr.b [A6 - 0x39]
0000040E 1D7C 0088 FFC8 move.b [A6 - 0x38], 0x88
00000414 422E FFC9 clr.b [A6 - 0x37]
00000418 1D7C 0011 FFCA move.b [A6 - 0x36], 0x11
0000041E 422E FFCB clr.b [A6 - 0x35]
00000422 1D7C 0088 FFCC move.b [A6 - 0x34], 0x88
00000428 422E FFCD clr.b [A6 - 0x33]
0000042C 1D7C 0055 FFBE move.b [A6 - 0x42], 0x55 /* 'U' */
00000432 1D7C 00AA FFBF move.b [A6 - 0x41], 0xAA
00000438 1D7C 0055 FFC0 move.b [A6 - 0x40], 0x55 /* 'U' */
0000043E 1D7C 00AA FFC1 move.b [A6 - 0x3F], 0xAA
00000444 1D7C 0055 FFC2 move.b [A6 - 0x3E], 0x55 /* 'U' */
0000044A 1D7C 00AA FFC3 move.b [A6 - 0x3D], 0xAA
00000450 1D7C 0055 FFC4 move.b [A6 - 0x3C], 0x55 /* 'U' */
00000456 1D7C 00AA FFC5 move.b [A6 - 0x3B], 0xAA
0000045C 1D7C 00FF FFB6 move.b [A6 - 0x4A], 0xFF
00000462 1D7C 00FF FFB7 move.b [A6 - 0x49], 0xFF
00000468 1D7C 00FF FFB8 move.b [A6 - 0x48], 0xFF
0000046E 1D7C 00FF FFB9 move.b [A6 - 0x47], 0xFF
00000474 1D7C 00FF FFBA move.b [A6 - 0x46], 0xFF
0000047A 1D7C 00FF FFBB move.b [A6 - 0x45], 0xFF
00000480 1D7C 00FF FFBC move.b [A6 - 0x44], 0xFF
00000486 1D7C 00FF FFBD move.b [A6 - 0x43], 0xFF
0000048C 2F05 move.l -[A7], D5
0000048E 205F movea.l A0, [A7]+
00000490 A029 syscall HLock
00000492 2045 movea.l A0, D5
00000494 2050 movea.l A0, [A0]
00000496 7000 moveq.l D0, 0x00
00000498 1028 0010 move.b D0, [A0 + 0x10]
0000049C 4A40 tst.w D0
0000049E 6700 0200 beq +0x202 /* 000006A0 */
000004A2 2045 movea.l A0, D5
000004A4 2050 movea.l A0, [A0]
000004A6 41E8 0008 lea.l A0, [A0 + 0x8]
000004AA 43EE FFE8 lea.l A1, [A6 - 0x18]
000004AE 22D8 move.l [A1]+, [A0]+
000004B0 22D8 move.l [A1]+, [A0]+
000004B2 594F subq.w A7, 4
000004B4 A8D8 syscall NewRgn
000004B6 2D5F FFCE move.l [A6 - 0x32], [A7]+
000004BA 2F2E FFCE move.l -[A7], [A6 - 0x32]
000004BE A87A syscall GetClip
000004C0 594F subq.w A7, 4
000004C2 A8D8 syscall NewRgn
000004C4 281F move.l D4, [A7]+
000004C6 2F04 move.l -[A7], D4
000004C8 486E FFE8 pea.l [A6 - 0x18]
000004CC A8DF syscall RectRgn
000004CE 2F2E FFCE move.l -[A7], [A6 - 0x32]
000004D2 2F04 move.l -[A7], D4
000004D4 2F04 move.l -[A7], D4
000004D6 A8E4 syscall SectRgn
000004D8 2F04 move.l -[A7], D4
000004DA A879 syscall SetClip
000004DC 2045 movea.l A0, D5
000004DE 2050 movea.l A0, [A0]
000004E0 2D68 001C FF9C move.l [A6 - 0x64], [A0 + 0x1C]
000004E6 202E FF9C move.l D0, [A6 - 0x64]
000004EA 0280 0100 0000 andi.l D0, 0x1000000
000004F0 4A80 tst.l D0
000004F2 6708 beq +0xA /* 000004FC */
000004F4 1D7C 0001 FF9B move.b [A6 - 0x65], 0x1
000004FA 6004 bra +0x6 /* 00000500 */
label000004FC:
000004FC 422E FF9B clr.b [A6 - 0x65]
label00000500:
00000500 4A2E FF9B tst.b [A6 - 0x65]
00000504 6722 beq +0x24 /* 00000528 */
00000506 4267 clr.w -[A7]
00000508 A887 syscall TextFont
0000050A 3F3C 000C move.w -[A7], 0xC
0000050E A88A syscall TextSize
00000510 4267 clr.w -[A7]
00000512 A889 syscall TextMode
00000514 422E FF5A clr.b [A6 - 0xA6]
00000518 7000 moveq.l D0, 0x00
0000051A 102E FF5A move.b D0, [A6 - 0xA6]
0000051E 3F00 move.w -[A7], D0
00000520 A888 syscall TextFace
00000522 486E FF92 pea.l [A6 - 0x6E]
00000526 A88B syscall GetFontInfo
label00000528:
00000528 202E FF9C move.l D0, [A6 - 0x64]
0000052C 0280 0000 FF00 andi.l D0, 0xFF00
00000532 2D40 FFA0 move.l [A6 - 0x60], D0
00000536 2F2E FFA0 move.l -[A7], [A6 - 0x60]
0000053A 2F3C 0000 0100 move.l -[A7], 0x100
00000540 4EBA FC44 jsr [PC - 0x3BC /* 00000186 */]
00000544 2D5F FFA0 move.l [A6 - 0x60], [A7]+
00000548 4AAE FFA0 tst.l [A6 - 0x60]
0000054C 660A bne +0xC /* 00000558 */
0000054E 7601 moveq.l D3, 0x01
00000550 486E FFBE pea.l [A6 - 0x42]
00000554 A89D syscall PenPat
00000556 6004 bra +0x6 /* 0000055C */
label00000558:
00000558 362E FFA2 move.w D3, [A6 - 0x5E]
label0000055C:
0000055C 3F03 move.w -[A7], D3
0000055E 3F03 move.w -[A7], D3
00000560 A89B syscall PenSize
00000562 2E2E FF9C move.l D7, [A6 - 0x64]
00000566 0287 0000 00FF andi.l D7, 0xFF
0000056C 41EE FFE8 lea.l A0, [A6 - 0x18]
00000570 43EE FF82 lea.l A1, [A6 - 0x7E]
00000574 22D8 move.l [A1]+, [A0]+
00000576 22D8 move.l [A1]+, [A0]+
00000578 4A2E FF9B tst.b [A6 - 0x65]
0000057C 6712 beq +0x14 /* 00000590 */
0000057E 302E FF92 move.w D0, [A6 - 0x6E]
00000582 48C0 ext.l D0
00000584 81FC 0002 divs.w D0, 0x2
00000588 D06E FF82 add.w D0, [A6 - 0x7E]
0000058C 3D40 FF82 move.w [A6 - 0x7E], D0
label00000590:
00000590 4A47 tst.w D7
00000592 5EC0 sgt D0
00000594 0C47 00FF cmpi.w D7, 0xFF
00000598 56C1 sne D1
0000059A C001 and.b D0, D1
0000059C 6714 beq +0x16 /* 000005B2 */
0000059E 302E FF88 move.w D0, [A6 - 0x78]
000005A2 9047 sub.w D0, D7
000005A4 3D40 FF88 move.w [A6 - 0x78], D0
000005A8 302E FF86 move.w D0, [A6 - 0x7A]
000005AC 9047 sub.w D0, D7
000005AE 3D40 FF86 move.w [A6 - 0x7A], D0
label000005B2:
000005B2 4A2B FFEF tst.b [A3 - 0x11]
000005B6 6726 beq +0x28 /* 000005DE */
000005B8 486B FFE8 pea.l [A3 - 0x18]
000005BC AA19 syscall GetForeColor
000005BE 486B FFE2 pea.l [A3 - 0x1E]
000005C2 AA1A syscall GetBackColor
000005C4 486B FFD6 pea.l [A3 - 0x2A]
000005C8 AA14 syscall RGBForeColor
000005CA 486B FFDC pea.l [A3 - 0x24]
000005CE AA15 syscall RGBBackColor
000005D0 206E FF64 movea.l A0, [A6 - 0x9C]
000005D4 4A68 0006 tst.w [A0 + 0x6]
000005D8 6F04 ble +0x6 /* 000005DE */
000005DA 422B FFEF clr.b [A3 - 0x11]
label000005DE:
000005DE 4A2B FFEF tst.b [A3 - 0x11]
000005E2 670C beq +0xE /* 000005F0 */
000005E4 486E FF78 pea.l [A6 - 0x88]
000005E8 AA14 syscall RGBForeColor
000005EA 486B FFDC pea.l [A3 - 0x24]
000005EE AA15 syscall RGBBackColor
label000005F0:
000005F0 4A47 tst.w D7
000005F2 5EC0 sgt D0
000005F4 0C47 00FF cmpi.w D7, 0xFF
000005F8 56C1 sne D1
000005FA C001 and.b D0, D1
000005FC 6732 beq +0x34 /* 00000630 */
000005FE 3F07 move.w -[A7], D7
00000600 3F07 move.w -[A7], D7
00000602 A89B syscall PenSize
00000604 302E FF84 move.w D0, [A6 - 0x7C]
00000608 D047 add.w D0, D7
0000060A 3F00 move.w -[A7], D0
0000060C 3F2E FF86 move.w -[A7], [A6 - 0x7A]
00000610 A893 syscall MoveTo
00000612 3F2E FF88 move.w -[A7], [A6 - 0x78]
00000616 3F2E FF86 move.w -[A7], [A6 - 0x7A]
0000061A A891 syscall LineTo
0000061C 3F2E FF88 move.w -[A7], [A6 - 0x78]
00000620 302E FF82 move.w D0, [A6 - 0x7E]
00000624 D047 add.w D0, D7
00000626 3F00 move.w -[A7], D0
00000628 A891 syscall LineTo
0000062A 3F03 move.w -[A7], D3
0000062C 3F03 move.w -[A7], D3
0000062E A89B syscall PenSize
label00000630:
00000630 4AAE FFA0 tst.l [A6 - 0x60]
00000634 56C0 sne D0
00000636 0C47 00FF cmpi.w D7, 0xFF
0000063A 56C1 sne D1
0000063C C001 and.b D0, D1
0000063E 6706 beq +0x8 /* 00000646 */
00000640 486E FF82 pea.l [A6 - 0x7E]
00000644 A8A1 syscall FrameRect
label00000646:
00000646 486E FFB6 pea.l [A6 - 0x4A]
0000064A A89D syscall PenPat
0000064C 3F3C 0001 move.w -[A7], 0x1
00000650 3F3C 0001 move.w -[A7], 0x1
00000654 A89B syscall PenSize
00000656 4A2E FF9B tst.b [A6 - 0x65]
0000065A 6744 beq +0x46 /* 000006A0 */
0000065C 4A2B FFEF tst.b [A3 - 0x11]
00000660 670C beq +0xE /* 0000066E */
00000662 486E FF6C pea.l [A6 - 0x94]
00000666 AA14 syscall RGBForeColor
00000668 486B FFDC pea.l [A3 - 0x24]
0000066C AA15 syscall RGBBackColor
label0000066E:
0000066E 302E FF84 move.w D0, [A6 - 0x7C]
00000672 0640 000A addi.w D0, 0xA /* '\n' */
00000676 3F00 move.w -[A7], D0
00000678 302E FF92 move.w D0, [A6 - 0x6E]
0000067C 48C0 ext.l D0
0000067E 81FC 0002 divs.w D0, 0x2
00000682 D06E FF82 add.w D0, [A6 - 0x7E]
00000686 3F00 move.w -[A7], D0
00000688 A893 syscall MoveTo
0000068A 487A 0084 pea.l [PC + 0x84 /* 00000710, value 0x1204E56 */]
0000068E A884 syscall DrawString
00000690 2045 movea.l A0, D5
00000692 2050 movea.l A0, [A0]
00000694 4868 0028 pea.l [A0 + 0x28]
00000698 A884 syscall DrawString
0000069A 487A 0072 pea.l [PC + 0x72 /* 0000070E, value 0x1200120 */]
0000069E A884 syscall DrawString
label000006A0:
000006A0 2F2E FFCE move.l -[A7], [A6 - 0x32]
000006A4 A879 syscall SetClip
000006A6 2F2E FFCE move.l -[A7], [A6 - 0x32]
000006AA A8D9 syscall DisposRgn/DisposeRgn
000006AC 2F04 move.l -[A7], D4
000006AE A8D9 syscall DisposRgn/DisposeRgn
000006B0 3F2E FF90 move.w -[A7], [A6 - 0x70]
000006B4 A887 syscall TextFont
000006B6 3F2E FF8E move.w -[A7], [A6 - 0x72]
000006BA A88A syscall TextSize
000006BC 3F2E FF8C move.w -[A7], [A6 - 0x74]
000006C0 A889 syscall TextMode
000006C2 486E FF8B pea.l [A6 - 0x75]
000006C6 486E FF3C pea.l [A6 - 0xC4]
000006CA 3F3C 0001 move.w -[A7], 0x1
000006CE 4EBA FAE0 jsr [PC - 0x520 /* 000001B0 */]
000006D2 1D6E FF5B FF3A move.b [A6 - 0xC6], [A6 - 0xA5]
000006D8 7000 moveq.l D0, 0x00
000006DA 102E FF3A move.b D0, [A6 - 0xC6]
000006DE 3F00 move.w -[A7], D0
000006E0 A888 syscall TextFace
000006E2 4A2B FFEF tst.b [A3 - 0x11]
000006E6 670C beq +0xE /* 000006F4 */
000006E8 486B FFE8 pea.l [A3 - 0x18]
000006EC AA14 syscall RGBForeColor
000006EE 486B FFE2 pea.l [A3 - 0x1E]
000006F2 AA15 syscall RGBBackColor
label000006F4:
000006F4 486E FFA4 pea.l [A6 - 0x5C]
000006F8 A899 syscall SetPenState
000006FA 2F05 move.l -[A7], D5
000006FC 205F movea.l A0, [A7]+
000006FE A02A syscall HUnlock
00000700 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000704 4E5E unlink A6
00000706 205F movea.l A0, [A7]+
00000708 4FEF 000E lea.l A7, [A7 + 0xE]
0000070C 4ED0 jmp [A0]
0000070E 0120 btst -[A0], D0
00000710 0120 btst -[A0], D0
fn00000712:
00000712 4E56 FFE4 link A6, -0x001C
00000716 48E7 0110 movem.l -[A7], D7,A3
0000071A 266E 0010 movea.l A3, [A6 + 0x10]
0000071E 2F0B move.l -[A7], A3
00000720 205F movea.l A0, [A7]+
00000722 A029 syscall HLock
00000724 42AE 0016 clr.l [A6 + 0x16]
00000728 2053 movea.l A0, [A3]
0000072A 7000 moveq.l D0, 0x00
0000072C 1028 0011 move.b D0, [A0 + 0x11]
00000730 0C40 00FF cmpi.w D0, 0xFF
00000734 6744 beq +0x46 /* 0000077A */
00000736 2053 movea.l A0, [A3]
00000738 7000 moveq.l D0, 0x00
0000073A 1028 0011 move.b D0, [A0 + 0x11]
0000073E 0C40 00FE cmpi.w D0, 0xFE
00000742 672E beq +0x30 /* 00000772 */
00000744 2053 movea.l A0, [A3]
00000746 2E28 001C move.l D7, [A0 + 0x1C]
0000074A 0287 FEFF FFFF andi.l D7, 0xFEFFFFFF
00000750 0C87 0000 FFFF cmpi.l D7, 0xFFFF
00000756 6F22 ble +0x24 /* 0000077A */
00000758 554F subq.w A7, 2
0000075A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000075E 2053 movea.l A0, [A3]
00000760 4868 0008 pea.l [A0 + 0x8]
00000764 A8AD syscall PtInRect
00000766 4A1F tst.b [A7]+
00000768 6710 beq +0x12 /* 0000077A */
0000076A 700A moveq.l D0, 0x0A
0000076C 2D40 0016 move.l [A6 + 0x16], D0
00000770 6008 bra +0xA /* 0000077A */
label00000772:
00000772 2D7C 0000 00FE 0016 move.l [A6 + 0x16], 0xFE
label0000077A:
0000077A 2F0B move.l -[A7], A3
0000077C 205F movea.l A0, [A7]+
0000077E A02A syscall HUnlock
00000780 4CDF 0880 movem.l D7,A3, [A7]+
00000784 4E5E unlink A6
00000786 205F movea.l A0, [A7]+
00000788 4FEF 000E lea.l A7, [A7 + 0xE]
0000078C 4ED0 jmp [A0]
label0000078E:
0000078E 4E56 FFD6 link A6, -0x002A
00000792 48E7 0310 movem.l -[A7], D6,D7,A3
00000796 266E 000E movea.l A3, [A6 + 0xE]
0000079A 2E2E 0008 move.l D7, [A6 + 0x8]
0000079E 3C2E 0012 move.w D6, [A6 + 0x12]
000007A2 42AE 0014 clr.l [A6 + 0x14]
000007A6 200B move.l D0, A3
000007A8 6700 008A beq +0x8C /* 00000834 */
000007AC 2F0E move.l -[A7], A6
000007AE 4EBA FAE4 jsr [PC - 0x51C /* 00000294 */]
000007B2 302E 000C move.w D0, [A6 + 0xC]
000007B6 606A bra +0x6C /* 00000822 */
label000007B8:
000007B8 3F06 move.w -[A7], D6
000007BA 2F0B move.l -[A7], A3
000007BC 2F07 move.l -[A7], D7
000007BE 2F0E move.l -[A7], A6
000007C0 4EBA FB24 jsr [PC - 0x4DC /* 000002E6 */]
000007C4 6000 006E bra +0x70 /* 00000834 */
label000007C8:
000007C8 594F subq.w A7, 4
000007CA 3F06 move.w -[A7], D6
000007CC 2F0B move.l -[A7], A3
000007CE 2F07 move.l -[A7], D7
000007D0 2F0E move.l -[A7], A6
000007D2 4EBA FF3E jsr [PC - 0xC2 /* 00000712 */]
000007D6 2D5F 0014 move.l [A6 + 0x14], [A7]+
000007DA 6058 bra +0x5A /* 00000834 */
label000007DC:
000007DC 2F0B move.l -[A7], A3
000007DE 205F movea.l A0, [A7]+
000007E0 A029 syscall HLock
000007E2 2F07 move.l -[A7], D7
000007E4 2053 movea.l A0, [A3]
000007E6 4868 0008 pea.l [A0 + 0x8]
000007EA A8DF syscall RectRgn
000007EC 2F0B move.l -[A7], A3
000007EE 205F movea.l A0, [A7]+
000007F0 A02A syscall HUnlock
000007F2 6040 bra +0x42 /* 00000834 */
label000007F4:
000007F4 2F0B move.l -[A7], A3
000007F6 205F movea.l A0, [A7]+
000007F8 A029 syscall HLock
000007FA 2053 movea.l A0, [A3]
000007FC 70FF moveq.l D0, 0xFFFFFFFF
000007FE 2140 0020 move.l [A0 + 0x20], D0
00000802 2F0B move.l -[A7], A3
00000804 205F movea.l A0, [A7]+
00000806 A02A syscall HUnlock
00000808 602A bra +0x2C /* 00000834 */
label0000080A:
0000080A 2F0B move.l -[A7], A3
0000080C 205F movea.l A0, [A7]+
0000080E A029 syscall HLock
00000810 2F07 move.l -[A7], D7
00000812 2053 movea.l A0, [A3]
00000814 4868 0008 pea.l [A0 + 0x8]
00000818 A8DF syscall RectRgn
0000081A 2F0B move.l -[A7], A3
0000081C 205F movea.l A0, [A7]+
0000081E A02A syscall HUnlock
00000820 6012 bra +0x14 /* 00000834 */
label00000822:
00000822 6794 beq -0x6A /* 000007B8 */
00000824 5340 subq.w D0, 1
00000826 67A0 beq -0x5E /* 000007C8 */
00000828 5340 subq.w D0, 1
0000082A 67B0 beq -0x4E /* 000007DC */
0000082C 5340 subq.w D0, 1
0000082E 67C4 beq -0x3A /* 000007F4 */
00000830 5F40 subq.w D0, 7
00000832 67D6 beq -0x28 /* 0000080A */
label00000834:
00000834 4CDF 08C0 movem.l D6,D7,A3, [A7]+
00000838 4E5E unlink A6
0000083A 205F movea.l A0, [A7]+
0000083C 4FEF 000C lea.l A7, [A7 + 0xC]
00000840 4ED0 jmp [A0]